//
//  FXTRequestDelegate.h
//  OfferJob
//
//  Created by 郑州动力无限科技 on 2017/6/30.
//  Copyright © 2017年 郑州动力无限科技. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FXTResponseDelegate.h"

typedef void(^FXTResponseCallback)(id result, NSError *error);

@protocol FXTRequestDelegate <NSObject>
@property (nonatomic, assign) NSUInteger flag;
@property (nonatomic, copy) FXTResponseCallback callback;

@required
/**
 *  request param info
 *
 *  @return request param
 */
- (NSDictionary *)reqParamDic;
- (void)requestFinishedCallback:(id)result;
- (void)requestErrorCallback:(NSError *)error;
- (id<FXTResponseDelegate>)getResponseWithInfo:(id)result
                                          err:(NSError *)err;
@optional
@end
